/**
 * LY.com Inc.
 * Copyright (c) 2004-2021 All Rights Reserved.
 */
package consistenthashing;

/**
 * @author bixiao.wang
 * @version $Id: DefaultConsistentHashing, v 0.1 2021/9/17 17:50 bixiao.wang Exp $
 */
public class DefaultConsistentHashing extends AbstractConsistentHashing {
    public DefaultConsistentHashing(int virtualNodeNum) {
        super(virtualNodeNum);
    }

    @Override
    public int hashing(String node) {
        return node.hashCode();
    }
}
